package com.example.educationplatformbackend.mapper;


import com.example.educationplatformbackend.domian.home.Course;
import com.example.educationplatformbackend.domian.home.Coutsenew;
import com.example.educationplatformbackend.domian.home.Recommend;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface HomeMapper {


    @Select("select * from recommend")
    List<Recommend> recommend();







    @Select("SELECT * FROM coutsenew WHERE typecount = #{type}")
    List<Coutsenew>  coutsenew(@Param("type") String type);


}
